package com.lzp.utils.enums;

/**
 * 支付方式枚举
 *
 * @author dtyy
 * @date 2020/9/16
 */
public enum PayMethod {
    WEIXIN(1, "微信支付"),
    ALIPAY(2, "支付宝支付");

    private final Integer code;

    private final String msg;

    PayMethod(Integer code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public Integer getCode() {
        return code;
    }
}
